#header{
<title>!!$name!!</title>
<script src="/css_js/layui/layui.js" charset="utf-8"></script>
<link rel="stylesheet" href="/css_js/layui/layui.css" media="all"> }# #body{

<header class="am-header">
	<p class="layui-elem-quote">!!$name!!</</p>

</header>
<div id="main">
	<div class="site-text site-block">
		<form class="layui-form" action="!!SplitUrl('zfb/pay/formPay')!!" method="post" target="_blank">
	
			<!--<div class="layui-form-item">
				<label class="layui-form-label">商户订单号</label>
				<div class="layui-input-block">
					<input type="text" name="WIDout_trade_no" required="" lay-verify="required" placeholder="请输入商户订单号" autocomplete="off" class="layui-input layui-form-danger" value="!!$output['WIDout_trade_no']!!">
				</div>
			</div>-->

			<div class="layui-form-item">
				<label class="layui-form-label">订单名称</label>
				<div class="layui-input-block">
					<input type="text" name="WIDsubject" required="" lay-verify="required" placeholder="请输入商户订单号" autocomplete="off" class="layui-input layui-form-danger" value="!!$output['WIDsubject']!!">
				</div>
			</div>

			<div class="layui-form-item">
				<label class="layui-form-label">付款金额</label>
				<div class="layui-input-block">
					<input type="number" name="WIDtotal_amount" required="" lay-verify="required" placeholder="请输入商户订单号" autocomplete="off" class="layui-input layui-form-danger" value="!!$output['WIDtotal_amount']!!">
				</div>
			</div>

			<div class="layui-form-item layui-form-text">
				<label class="layui-form-label">商品描述</label>
				<div class="layui-input-block">
					<textarea name="WIDbody" placeholder="请输入内容" class="layui-textarea">!!$output['WIDbody']!!</textarea>
				</div>
			</div>

			<div class="layui-form-item">
				<div class="layui-input-block">
					<button class="layui-btn" lay-submit="" lay-filter="formDemo">立即提交</button>
					<button type="reset" class="layui-btn layui-btn-primary">重置</button>
				</div>
			</div>
		</form>

		<a class="layui-btn" href="!!SplitUrl('zfb/pay/ds')!!" target="_blank">打赏</a>

	</div> 

</div>

}# #footer{
<script>
	

	//Demo
	layui.use('form', function() {
		var form = layui.form;
		//
		//				form.on('switch(switchTest)', function(data) {
		//					layer.tips('开关checked：' + (this.checked ? 'true' : 'false'), data.othis)
		//				});

		//监听提交
		form.on('submit(formDemo)', function(data) {
			layer.msg(JSON.stringify(data.field));
			return true;
		});
	});
</script>

}#